package com.myw.mail.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 库存对象 t_product_stock
 * 
 * @author ruoyi
 * @date 2025-07-10
 */
@Data
@TableName("t_product_stock")
public class ProductStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 商品ID */
    private Long productId;

    /** 规格组合 */
    @Excel(name = "规格组合")
    private String specValues;

    /** 总库存量 */
    @Excel(name = "总库存量")
    private Long totalStock;

    /** 预扣库存 */
    @Excel(name = "预扣库存")
    private Long lockedStock;

    /** 低库存预警阈值 */
    @Excel(name = "低库存预警阈值")
    private Long lowStockAlert;


}
